<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="../../common/inc.jsp"%>
<%@ include file="../common/session.jsp"%>
<%
	BusinessInfoDao dao = new BusinessInfoDao();
	String message = "";
	int biId =  StringUtils.isNotBlank(request.getParameter("biId")) ? Integer.valueOf(request.getParameter("biId")) : 0 ;
	BusinessInfo bi = dao.getBIByBID(biId);
	if(dao.deleteBusiness(biId) ){ 
		message = "删除成功! ";
	} else {
		message = "删除失败!";
	}
	request.setAttribute("message",message);
	getServletContext().getRequestDispatcher("/admin/common/message.jsp").forward(request, response);
%>